package cn.edu.pojo;

import java.util.Date;

public class Collection {
    private String sno;
    private String label;
    private String sn;
    private Date date;

    public Collection() {
    }

    public Collection(String sno, String sn, String label, Date date) {
        this.sno = sno;
        this.label = label;
        this.sn = sn;
        this.date = date;
    }

    @Override
    public String toString() {
        return "Collection{" +
                "sno='" + sno + '\'' +
                ", label='" + label + '\'' +
                ", sn='" + sn + '\'' +
                ", date=" + date +
                '}';
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
